﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace TuLing.Blazor.Migrations
{
    public partial class removeNavi234 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ProductCode",
                table: "BuyOrderDetails");

            migrationBuilder.DropColumn(
                name: "ProductId",
                table: "BuyOrderDetails");

            migrationBuilder.DropColumn(
                name: "ProductName",
                table: "BuyOrderDetails");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "ProductCode",
                table: "BuyOrderDetails",
                type: "TEXT",
                nullable: true);

            migrationBuilder.AddColumn<long>(
                name: "ProductId",
                table: "BuyOrderDetails",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0L);

            migrationBuilder.AddColumn<string>(
                name: "ProductName",
                table: "BuyOrderDetails",
                type: "TEXT",
                nullable: true);
        }
    }
}
